<template>
    <div class="Environment-Monitor-Top">
        <p style="font-size: 14px; font-weight: 700; color: rgba(162, 182, 255, 1);">
            环境监测
        </p>
    </div>
    <div class="Environment-Monitor-Bottom">
        <div class="temperature">
            <div class="temperature-value">30℃</div>
            <div class="temperature-info">
                <p class="temperature-infoP1">晴</p>
                <p class="temperature-infoP2">47优</p>
                <p class="temperature-infoP3">24 ~ 36℃</p>
            </div>
            <div class="temperature-warning">
                <div class="temperature-warning-L"></div>
                <span>高温黄色预警</span>
            </div>
        </div>
        <div class="Somatosensory">
            <div class="kinect">
                <span>
                    <img src="../../assets/kinect.png" alt="">
                </span>
                <span class="kinect_span1">体感</span>
                <span class="kinect_span2">31℃</span>
            </div>
            <div class="windPower">
                <span>
                    <img src="../../assets/windPower.png" alt="">
                </span>
                <span class="kinect_span1">风力</span>
                <span class="kinect_span2">南风3级</span>
            </div>
            <div class="humidity">
                <span>
                    <img src="../../assets/humidity.png" alt="">
                </span>
                <span class="kinect_span1">湿度</span>
                <span class="kinect_span2">34%</span>
            </div>
        </div>
        <div class="weather">
            <div class="weather_left">
                <div class="weather_left_top">
                    <span class="weather_left_top_span">24 ~ 36℃</span>
                    <span class="weather_left_top_img">
                        <img src="../../assets/night.png" alt="">
                    </span>
                </div>
                <div class="weather_left_bottom">
                    <span class="weather_left_bottom_span1">今天</span>
                    <span class="weather_left_bottom_span2">47优</span>
                    <span class="weather_left_bottom_span3">晴</span>
                </div>
            </div>
            <div class="weather_right">
                <div class="weather_right_top">
                    <span class="weather_right_top_span">24 ~ 36℃</span>
                    <span class="weather_right_top_img">
                        <img src="../../assets/day.png" alt="">
                    </span>
                </div>
                <div class="weather_right_bottom">
                    <span class="weather_right_bottom_span1">明天</span>
                    <span class="weather_right_bottom_span2">35优</span>
                    <span class="weather_right_bottom_span3">晴</span>
                </div>
            </div>
        </div>
    </div>
</template>

<script setup>
</script>

<style scoped>
.Environment-Monitor-Top {
    position: fixed;
    left: 70px;
    top: 59px;
    width: 330px;
    height: 30px;
    /* opacity: 1;
    /* background: linear-gradient(229.52deg, rgba(14, 95, 255, 0.5) 0%, rgba(14, 95, 255, 0.22) 100%); */
    /* border: 1.6px solid rgba(61, 110, 174, 1); */
    background-image: url('../../assets/Path2.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    line-height: 30px;

    p {
        margin-left: 14px;
    }
}

.Environment-Monitor-Bottom {
    position: fixed;
    left: 70px;
    top: 105px;
    width: 330px;
    height: 280px;
    opacity: 1;
    background: rgba(12, 29, 95, 1);

    .temperature {
        width: 100%;
        height: 60px;
        /* background: red; */
        display: flex;

        .temperature-value {
            font-size: 30px;
            line-height: 60px;
            margin-left: 23px;
        }

        .temperature-info {
            margin-left: 30px;
            font-size: 12px;
            display: flex;
            margin-top: 10px;

            .temperature-infoP2 {
                width: 30px;
                height: 15px;
                background: rgba(7, 169, 60, 1);
                margin-left: 5px;
                font-size: 10px;
                border-radius: 10px;
                position: relative;
            }

            .temperature-infoP3 {
                position: absolute;
                top: 32px;
                left: 117px;
            }
        }

        .temperature-warning {
            margin-left: 70px;
            margin-top: 10px;
            font-size: 10px;
            color: rgba(253, 178, 1, 1);
            display: flex;

            .temperature-warning-L {
                width: 12px;
                height: 12px;
                background: rgba(253, 178, 1, 1);
                border-radius: 50px;
                margin-right: 2px;
            }
        }
    }

    .Somatosensory {
        width: 280px;
        height: 120wpx;
        margin: auto;
        background: url("../../assets/Photo.png");
        overflow: hidden;

        .kinect {
            width: 260px;
            height: 35px;
            /* background: red; */
            margin: 0 auto;
            margin-top: 5px;
            line-height: 35px;
            position: relative;
            background: url('@/assets/line.png');
            background-repeat: no-repeat;
            background-position: bottom;

            img {
                width: 8px;
                height: 15px;
                position: absolute;
                left: 0;
                top: 10px;
            }

            .kinect_span1 {
                color: rgba(194, 214, 255, 1);
                font-size: 12px;
                position: absolute;
                left: 20px;
            }

            .kinect_span2 {
                position: absolute;
                right: 0;
                top: 0;
            }
        }

        .windPower {
            width: 260px;
            height: 35px;
            /* background: red; */
            margin: 0 auto;
            margin-top: 5px;
            line-height: 35px;
            position: relative;
            background: url('@/assets/line.png');
            background-repeat: no-repeat;
            background-position: bottom;

            img {
                width: 8px;
                height: 15px;
                position: absolute;
                left: 0;
                top: 10px;
            }

            .kinect_span1 {
                color: rgba(194, 214, 255, 1);
                font-size: 12px;
                position: absolute;
                left: 20px;
            }

            .kinect_span2 {
                position: absolute;
                right: 0;
                top: 0;
            }
        }

        .humidity {
            width: 260px;
            height: 35px;
            /* background: red; */
            margin: 0 auto;
            margin-top: 5px;
            line-height: 35px;
            position: relative;
            /* background: url('@/assets/line.png');
            background-repeat: no-repeat;
            background-position: bottom; */

            img {
                width: 8px;
                height: 15px;
                position: absolute;
                left: 0;
                top: 10px;
            }

            .kinect_span1 {
                color: rgba(194, 214, 255, 1);
                font-size: 12px;
                position: absolute;
                left: 20px;
            }

            .kinect_span2 {
                position: absolute;
                right: 0;
                top: 0;
            }
        }
    }

    .weather {
        width: 280px;
        height: 80px;
        margin: auto;
        margin-top: 10px;
        background: url("../../assets/Photo2.png");
        display: flex;

        .weather_left {
            width: 120px;
            height: 80px;
            margin: auto;
            background: url("../../assets/line2.png");
            background-repeat: no-repeat;
            background-position: right;

            .weather_left_top {
                width: 120px;
                height: 40px;
                position: relative;

                /* background: red; */
                .weather_left_top_span {
                    font-size: 14px;
                    font-weight: 700;
                    position: absolute;
                    top: 10px;
                }

                .weather_left_top_img {
                    position: absolute;
                    top: 10px;
                    left: 85px;
                }
            }

            .weather_left_bottom {
                width: 120px;
                height: 40px;
                /* background: rgb(136, 122, 122); */
                position: relative;

                .weather_left_bottom_span1 {
                    font-size: 14px;
                    font-weight: 400;
                    position: absolute;
                    left: 0;
                    top: 10px;
                }

                .weather_left_bottom_span2 {
                    width: 30px;
                    height: 15px;
                    display: inline-block;
                    font-size: 10px;
                    font-weight: 700;
                    background: rgba(7, 169, 60, 1);
                    border-radius: 10px;
                    position: absolute;
                    left: 40px;
                    top: 10px;
                }

                .weather_left_bottom_span3 {
                    font-size: 14px;
                    font-weight: 400;
                    position: absolute;
                    left: 85px;
                    top: 10px;
                }
            }
        }

        .weather_right {
            width: 120px;
            height: 80px;
            /* background: red; */
            margin: auto;

            .weather_right_top {
                width: 120px;
                height: 40px;
                position: relative;

                /* background: red; */
                .weather_right_top_span {
                    font-size: 14px;
                    font-weight: 700;
                    position: absolute;
                    top: 10px;
                }

                .weather_right_top_img {
                    position: absolute;
                    top: 10px;
                    left: 85px;
                }
            }

            .weather_right_bottom {
                width: 120px;
                height: 40px;
                /* background: rgb(136, 122, 122); */
                position: relative;

                .weather_right_bottom_span1 {
                    font-size: 14px;
                    font-weight: 400;
                    position: absolute;
                    left: 0;
                    top: 10px;
                }

                .weather_right_bottom_span2 {
                    width: 30px;
                    height: 15px;
                    display: inline-block;
                    font-size: 10px;
                    font-weight: 700;
                    background: rgba(7, 169, 60, 1);
                    border-radius: 10px;
                    position: absolute;
                    left: 40px;
                    top: 10px;
                }

                .weather_right_bottom_span3 {
                    font-size: 14px;
                    font-weight: 400;
                    position: absolute;
                    left: 85px;
                    top: 10px;
                }
            }
        }
    }
}
</style>